package io.bdmc.modules.bss.service.impl;

import io.bdmc.common.utils.MyPage;
import io.bdmc.modules.bss.entity.DeviceMachineFms;
import io.bdmc.modules.bss.mapper.DeviceMachineFmsMapper;
import io.bdmc.modules.bss.service.IDeviceMachineFmsService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 黄露
 * @since 2021-06-01
 */
@Service
public class DeviceMachineFmsServiceImpl extends ServiceImpl<DeviceMachineFmsMapper, DeviceMachineFms> implements IDeviceMachineFmsService {
    @Autowired
    DeviceMachineFmsMapper _devicemachinefmsMapper;

    @Override
    public MyPage<DeviceMachineFms> mySelectPage(MyPage<DeviceMachineFms> myPage) {
        return _devicemachinefmsMapper.mySelectPage(myPage);
    }

    @Override
    public DeviceMachineFms selectLastFmsData(String diskSn) {
        return _devicemachinefmsMapper.selectLastFmsData(diskSn);
    }
}
